package site.wetsion.galio.sdk.handler;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 默认的成功处理，默认通过过滤器放行
 *
 * @author wetsion
 * @version 1.0
 * @CLassName DefaultAuthenticationSuccessHandler
 * @date 2019/3/8 4:04 PM
 */
public class DefaultAuthenticationSuccessHandler implements AuthenticationSuccessHandler {
    @Override
    public void onAuthenticationSuccess(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws IOException, ServletException {
        filterChain.doFilter(request, response);
    }
}
